set the cart before the horse

前后颠倒;本末倒置